* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1e3c72 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    font-size: 13px;
    line-height: 1.4;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

/* 左侧面板 */
#left-panel {
    position: fixed;
    left: 0;
    top: 0;
    width: 420px;
    height: 100vh;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border-right: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    overflow-y: auto;
    padding: 25px;
    transition: all 0.3s ease;
}

#left-panel:hover {
    background: rgba(15, 15, 35, 0.99);
    border-right-color: rgba(102, 126, 234, 0.5);
}

#header {
    margin-bottom: 30px;
    text-align: center;
}

#header h1 {
    font-size: 22px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    font-weight: 600;
    letter-spacing: -0.3px;
}

#header p {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.5;
}

/* 控制面板 */
#controls {
    margin-bottom: 30px;
}

.control-group {
    margin-bottom: 20px;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e0e0e0;
    font-size: 14px;
}

.control-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.control-group select:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.control-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.control-group select option {
    background: #1a1a2e;
    color: #ffffff;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #667eea;
}

/* 渲染器信息 */
#renderer-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#renderer-info:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

#renderer-title {
    font-size: 22px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.renderer-section {
    margin-bottom: 30px;
    padding: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(102, 126, 234, 0.03) 100%);
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.renderer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.renderer-section:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(102, 126, 234, 0.06) 100%);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.15);
}

/* 模块头部样式 */
.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 0;
}

.module-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
    margin-left: 14px;
    letter-spacing: -0.2px;
}

.module-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.module-badge {
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* 模块内容区域 */
.renderer-section p,
.renderer-section .feature-list,
.renderer-section .code-example {
    margin-left: 24px;
    margin-right: 24px;
}

.renderer-section p:last-of-type {
    margin-bottom: 24px;
}

.code-example {
     margin-bottom: 24px !important;
 }

/* CSS2D模块主题 */
.css2d-module::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.css2d-module .module-header {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.1) 100%);
}

.css2d-module:hover {
    border-color: rgba(79, 172, 254, 0.4);
    box-shadow: 0 12px 32px rgba(79, 172, 254, 0.2);
}

.css2d-icon {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(0, 242, 254, 0.2) 100%);
    border-color: rgba(79, 172, 254, 0.4);
}

.css2d-badge {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.8) 0%, rgba(0, 242, 254, 0.8) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* CSS3D模块主题 */
.css3d-module::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.css3d-module .module-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.css3d-module:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.css3d-icon {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.4);
}

.css3d-badge {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* CSS3DSprite模块主题 */
.css3dsprite-module::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.css3dsprite-module .module-header {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.1) 100%);
}

.css3dsprite-module:hover {
    border-color: rgba(240, 147, 251, 0.4);
    box-shadow: 0 12px 32px rgba(240, 147, 251, 0.2);
}

.css3dsprite-icon {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3) 0%, rgba(245, 87, 108, 0.2) 100%);
    border-color: rgba(240, 147, 251, 0.4);
}

.css3dsprite-badge {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.8) 0%, rgba(245, 87, 108, 0.8) 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Sprite模块主题 */
.sprite-module::before {
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
}

.sprite-module .module-header {
    background: linear-gradient(135deg, rgba(255, 236, 210, 0.15) 0%, rgba(252, 182, 159, 0.1) 100%);
}

.sprite-module:hover {
    border-color: rgba(252, 182, 159, 0.4);
    box-shadow: 0 12px 32px rgba(252, 182, 159, 0.2);
}

.sprite-icon {
    background: linear-gradient(135deg, rgba(255, 236, 210, 0.3) 0%, rgba(252, 182, 159, 0.2) 100%);
    border-color: rgba(252, 182, 159, 0.4);
}

.sprite-badge {
    background: linear-gradient(135deg, rgba(252, 182, 159, 0.8) 0%, rgba(255, 236, 210, 0.8) 100%);
    color: #333;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

/* 模块悬停效果增强 */
.renderer-section:hover .module-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.renderer-section:hover .module-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.renderer-section h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.icon {
    font-size: 20px;
}

.renderer-section p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #e0e0e0;
}

.feature-list {
    list-style: none;
    margin-bottom: 15px;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border-left: 3px solid rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.3s ease;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.1);
}

.feature-list li:hover::before {
    width: 4px;
}

.feature-list li strong {
    color: #e0e6ed;
    margin-right: 6px;
}

.feature-icon {
    margin-right: 8px;
    font-size: 14px;
    min-width: 20px;
}

.code-example {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 16px;
    margin-top: 15px;
    border: 1px solid rgba(79, 172, 254, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.code-example::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

/* CSS2D模块代码示例主题 */
.css2d-module .code-example {
    border-color: rgba(79, 172, 254, 0.3);
}

.css2d-module .code-example::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.css2d-module .code-example h5 {
    color: #4facfe;
}

/* CSS3D模块代码示例主题 */
.css3d-module .code-example {
    border-color: rgba(102, 126, 234, 0.3);
}

.css3d-module .code-example::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.css3d-module .code-example h5 {
    color: #667eea;
}

/* CSS3DSprite模块代码示例主题 */
.css3dsprite-module .code-example {
    border-color: rgba(240, 147, 251, 0.3);
}

.css3dsprite-module .code-example::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.css3dsprite-module .code-example h5 {
    color: #f093fb;
}

/* Sprite模块代码示例主题 */
.sprite-module .code-example {
    border-color: rgba(252, 182, 159, 0.3);
}

.sprite-module .code-example::before {
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
}

.sprite-module .code-example h5 {
    color: #fcb69f;
}

/* CSS2D模块特点列表主题 */
.css2d-module .feature-list li {
    border-left-color: rgba(79, 172, 254, 0.4);
}

.css2d-module .feature-list li::before {
    background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
}

.css2d-module .feature-list li:hover {
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.15);
}

/* CSS3D模块特点列表主题 */
.css3d-module .feature-list li {
    border-left-color: rgba(102, 126, 234, 0.4);
}

.css3d-module .feature-list li::before {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.css3d-module .feature-list li:hover {
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

/* CSS3DSprite模块特点列表主题 */
.css3dsprite-module .feature-list li {
    border-left-color: rgba(240, 147, 251, 0.4);
}

.css3dsprite-module .feature-list li::before {
    background: linear-gradient(180deg, #f093fb 0%, #f5576c 100%);
}

.css3dsprite-module .feature-list li:hover {
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.15);
}

/* Sprite模块特点列表主题 */
.sprite-module .feature-list li {
    border-left-color: rgba(252, 182, 159, 0.4);
}

.sprite-module .feature-list li::before {
    background: linear-gradient(180deg, #ffecd2 0%, #fcb69f 100%);
}

.sprite-module .feature-list li:hover {
    box-shadow: 0 2px 8px rgba(252, 182, 159, 0.15);
}

.code-example h5 {
    color: #4facfe;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-example h5::before {
    content: '💻';
    font-size: 14px;
}

.code-example pre {
    margin: 0;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-example code {
    font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.4;
    color: #e6e6e6;
    white-space: pre;
}

/* 语法高亮样式 */
.code-example .keyword {
    color: #ff79c6;
    font-weight: 600;
}

.code-example .string {
    color: #f1fa8c;
}

.code-example .comment {
    color: #6272a4;
    font-style: italic;
}

.code-example .function {
    color: #50fa7b;
}

.code-example .variable {
    color: #8be9fd;
}

.code-example .number {
    color: #bd93f9;
}

.code-example .operator {
    color: #ff5555;
}

/* 右侧面板 */
#right-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 470px;
    height: 100vh;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border-left: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    overflow-y: auto;
    padding: 25px;
    transition: all 0.3s ease;
}

#right-panel:hover {
    background: rgba(15, 15, 35, 0.99);
    border-left-color: rgba(102, 126, 234, 0.5);
}

#technical-comparison {
    margin-bottom: 30px;
}

#technical-comparison h4 {
    font-size: 18px;
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.comparison-table {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.comparison-table:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 10px 6px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    line-height: 1.3;
}

.comparison-table th {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
    font-size: 11px;
}

.comparison-table td {
    color: #e0e0e0;
}

.comparison-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: scale(1.01);
}

/* 比较表格列主题色彩 */
.comparison-table th:nth-child(2) {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(0, 242, 254, 0.2) 100%);
    color: #ffffff;
    position: relative;
}

.comparison-table th:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.comparison-table th:nth-child(3) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: #ffffff;
    position: relative;
}

.comparison-table th:nth-child(3)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.comparison-table th:nth-child(4) {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3) 0%, rgba(245, 87, 108, 0.2) 100%);
    color: #ffffff;
    position: relative;
}

.comparison-table th:nth-child(4)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.comparison-table th:nth-child(5) {
    background: linear-gradient(135deg, rgba(252, 182, 159, 0.3) 0%, rgba(255, 236, 210, 0.2) 100%);
    color: #333333;
    position: relative;
    font-weight: 800;
}

.comparison-table th:nth-child(5)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
}

/* 表格单元格悬停效果 */
.comparison-table td:nth-child(2) {
    border-left: 2px solid rgba(79, 172, 254, 0.2);
    transition: all 0.3s ease;
}

.comparison-table td:nth-child(3) {
    border-left: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.comparison-table td:nth-child(4) {
    border-left: 2px solid rgba(240, 147, 251, 0.2);
    transition: all 0.3s ease;
}

.comparison-table td:nth-child(5) {
    border-left: 2px solid rgba(252, 182, 159, 0.2);
    transition: all 0.3s ease;
}

.comparison-table tr:hover td:nth-child(2) {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
    border-left-color: rgba(79, 172, 254, 0.5);
}

.comparison-table tr:hover td:nth-child(3) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left-color: rgba(102, 126, 234, 0.5);
}

.comparison-table tr:hover td:nth-child(4) {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.05) 100%);
    border-left-color: rgba(240, 147, 251, 0.5);
}

.comparison-table tr:hover td:nth-child(5) {
    background: linear-gradient(135deg, rgba(252, 182, 159, 0.1) 0%, rgba(255, 236, 210, 0.05) 100%);
    border-left-color: rgba(252, 182, 159, 0.5);
}

/* 使用指南 */
#usage-guide h4 {
    font-size: 16px;
    color: #667eea;
    margin-bottom: 15px;
    text-align: center;
}

.guide-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-radius: 12px;
    padding: 24px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.guide-content:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.1);
}

.guide-item {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(102, 126, 234, 0.03) 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.guide-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(102, 126, 234, 0.06) 100%);
    border-color: rgba(102, 126, 234, 0.25);
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.1);
}

/* 使用指南主题样式 */
.guide-item h5 {
    padding: 8px 16px;
    border-radius: 8px;
    margin: -8px -8px 12px -8px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* CSS2D指南主题 */
.guide-item:nth-child(1) {
    border-left-color: #4facfe;
    border-color: rgba(79, 172, 254, 0.15);
}

.guide-item:nth-child(1) h5 {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0.1) 100%);
    color: #4facfe;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.guide-item:nth-child(1):hover {
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.15);
}

/* CSS3D指南主题 */
.guide-item:nth-child(2) {
    border-left-color: #667eea;
    border-color: rgba(102, 126, 234, 0.15);
}

.guide-item:nth-child(2) h5 {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.guide-item:nth-child(2):hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

/* CSS3DSprite指南主题 */
.guide-item:nth-child(3) {
    border-left-color: #f093fb;
    border-color: rgba(240, 147, 251, 0.15);
}

.guide-item:nth-child(3) h5 {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.15) 0%, rgba(245, 87, 108, 0.1) 100%);
    color: #f093fb;
    border: 1px solid rgba(240, 147, 251, 0.2);
}

.guide-item:nth-child(3):hover {
    border-color: rgba(240, 147, 251, 0.3);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.15);
}

/* Sprite指南主题 */
.guide-item:nth-child(4) {
    border-left-color: #fcb69f;
    border-color: rgba(252, 182, 159, 0.15);
}

.guide-item:nth-child(4) h5 {
    background: linear-gradient(135deg, rgba(255, 236, 210, 0.15) 0%, rgba(252, 182, 159, 0.1) 100%);
    color: #fcb69f;
    border: 1px solid rgba(252, 182, 159, 0.2);
}

.guide-item:nth-child(4):hover {
    border-color: rgba(252, 182, 159, 0.3);
    box-shadow: 0 6px 20px rgba(252, 182, 159, 0.15);
}

.guide-item:last-child {
    margin-bottom: 0;
}

.guide-item h5 {
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-item ul {
    list-style: none;
    margin: 0;
}

.guide-item li {
    font-size: 12px;
    color: #e0e0e0;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
    line-height: 1.3;
}

.guide-item li:before {
    content: '•';
    color: #667eea;
    position: absolute;
    left: 0;
}

/* 3D场景中的标签样式 */
.label {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.css3d-element {
    width: 220px;
    height: 160px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(102, 126, 234, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    opacity: 0.98;
    z-index: 1000;
    transition: all 0.3s ease;
}

.css3d-element:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 60px rgba(102, 126, 234, 1);
}

.css3d-element h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.css3d-element p {
    font-size: 14px;
    opacity: 0.9;
}

.sprite-label {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95) 0%, rgba(255, 142, 83, 0.95) 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    #left-panel {
        width: 380px;
    }
    
    #right-panel {
        width: 430px;
    }
    
    body {
        font-size: 12px;
    }
    
    #header h1 {
        font-size: 20px;
    }
    
    .renderer-section h4 {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    #left-panel {
        width: 350px;
    }
    
    #right-panel {
        width: 400px;
    }
    
    body {
        font-size: 11px;
    }
    
    #header h1 {
        font-size: 18px;
    }
    
    .module-header h4 {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    #left-panel {
        width: 300px;
    }
    
    #right-panel {
        width: 350px;
    }
    
    body {
        font-size: 10px;
    }
    
    #header h1 {
        font-size: 16px;
    }
    
    .module-header h4 {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 6px 3px;
        font-size: 9px;
    }
    
    .guide-item h5 {
        font-size: 11px;
    }
    
    .guide-item li {
        font-size: 10px;
    }
}

/* 滚动条样式 */
#left-panel::-webkit-scrollbar,
#right-panel::-webkit-scrollbar {
    width: 8px;
}

#left-panel::-webkit-scrollbar-track,
#right-panel::-webkit-scrollbar-track {
    background: rgba(15, 15, 35, 0.8);
    border-radius: 4px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

#left-panel::-webkit-scrollbar-thumb,
#right-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

#left-panel::-webkit-scrollbar-thumb:hover,
#right-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 动画效果 */
.comparison-table tr {
    transition: all 0.3s ease;
}

/* 新增光效动画 */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

.css3d-element {
    animation: glow 3s ease-in-out infinite;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

#header h1 {
    animation: float 6s ease-in-out infinite;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.control-group select:focus {
    animation: pulse 0.5s ease-in-out;
}

/* 隐藏/显示动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.fade-out {
    animation: fadeOut 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}